package com.hl.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Liu Huan
 */

@RestController
public class HelloController {
	
	@GetMapping(value = "/hello")
	public String hello() {
		return "hello";
	}
	
	@GetMapping(value = "/liuhuan/hello")
	public String liu() {
		return "hehe";
	}
}
